package com.dk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 估值表
 * </p>
 *
 * @author author
 * @since 2021-10-30
 */
@Data
public class TValuationDTO implements Serializable {

    @ApiModelProperty(value = "里程数")
    private Integer mileage;

    @ApiModelProperty(value = "破损程度")
    private Integer damage;

    //原厂价格
    private BigDecimal price;

    //上牌时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date statedate;


}
